#pragma once

#include <SFML\Graphics.hpp>
#include "raider.h"
#include "Player.h"
#include <cmath>
#include <cstdlib>
#include <ctime>

const int RAIDER_COUNT = 0;

class RaiderManager {
public:
	RaiderManager();
	~RaiderManager();

	void initialize(sf::RenderWindow* win, Player* play, RaiderBulletHandler* raid);
	void update();
	void cleanup();

private:
	sf::RenderWindow* m_renderWindow;
	raider* m_arrayOfRaiders;
	sf::Clock* m_clock;
	//sf::Time* m_time;
	int randomSide;
	int randomCheckY;
	int randomCheckX;
	int randomX;
	int randomY;
	int randomtest;
	//sf::Randomizer* m_random;

	float m_lastSpawn;

	void spawnRaider();

};

